package com.sakura.mall.member.integrationChangeHistory.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.member.integrationChangeHistory.domain.entity.IntegrationChangeHistoryEntity;
import com.sakura.mall.member.integrationChangeHistory.domain.request.AddIntegrationChangeHistoryRequest;
import com.sakura.mall.member.integrationChangeHistory.domain.request.UpdateIntegrationChangeHistoryRequest;
import com.sakura.mall.member.integrationChangeHistory.domain.request.IntegrationChangeHistoryPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.member.integrationChangeHistory.domain.vo.IntegrationChangeHistoryVo;

/**
 * 积分变化历史记录 service
 *
 * @author sakura
 */
public interface IntegrationChangeHistoryService extends IService<IntegrationChangeHistoryEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<IntegrationChangeHistoryVo> queryPage(IntegrationChangeHistoryPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddIntegrationChangeHistoryRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateIntegrationChangeHistoryRequest request);
}
